﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SnmpForm.ApIpPool
{
    class ucApIpPoolSearchTarget:ApSearch.ucApSerachConf
    {
        public override bool AddEvent(DbWrapper.DbDataTypes.SearchTarget target)
        {
            return BusinessWrapper.User.Instance.AddApIpPoolSearchTarget(target);
        }

        public override bool DelEvent(DbWrapper.DbDataTypes.SearchTarget target)
        {
            return BusinessWrapper.User.Instance.DelApIpPoolSearchTarget(target);
        }

        public override List<DbWrapper.DbDataTypes.SearchTarget>
            GetEvent()
        {
            return BusinessWrapper.User.Instance.GetApIpPoolSearchTargetList();
        }
    }
}
